package com.school.admin.mapper;

import com.school.admin.entity.MallSysPurviewRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 接口角色中间表 Mapper 接口
 * </p>
 *
 * @author sunpx
 * @since 2022-03-24
 */
public interface MallSysPurviewRoleMapper extends BaseMapper<MallSysPurviewRole> {


    /**
     * 保存权限
     * @author : sunpx
     * @param pid
     * @return void
     * @date : 2022-03-26 19:11:10
     */
    void appendPurviewRole(@Param("pid") List<Long> pid,@Param("ridList")List<String> rid);

}
